﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001425 RID: 5157
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyUpdatePosEnvScRsp : IMessage<TrainPartyUpdatePosEnvScRsp>, IMessage, IEquatable<TrainPartyUpdatePosEnvScRsp>, IDeepCloneable<TrainPartyUpdatePosEnvScRsp>, IBufferMessage
	{
		// Token: 0x17004105 RID: 16645
		// (get) Token: 0x0600E6E5 RID: 59109 RVA: 0x002697F5 File Offset: 0x002679F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyUpdatePosEnvScRsp> Parser
		{
			get
			{
				return TrainPartyUpdatePosEnvScRsp._parser;
			}
		}

		// Token: 0x17004106 RID: 16646
		// (get) Token: 0x0600E6E6 RID: 59110 RVA: 0x002697FC File Offset: 0x002679FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyUpdatePosEnvScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004107 RID: 16647
		// (get) Token: 0x0600E6E7 RID: 59111 RVA: 0x0026980E File Offset: 0x00267A0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyUpdatePosEnvScRsp.Descriptor;
			}
		}

		// Token: 0x0600E6E8 RID: 59112 RVA: 0x00269815 File Offset: 0x00267A15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyUpdatePosEnvScRsp()
		{
		}

		// Token: 0x0600E6E9 RID: 59113 RVA: 0x0026981D File Offset: 0x00267A1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyUpdatePosEnvScRsp(TrainPartyUpdatePosEnvScRsp other) : this()
		{
			this.nPKLLEHIOAL_ = other.nPKLLEHIOAL_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E6EA RID: 59114 RVA: 0x0026984E File Offset: 0x00267A4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyUpdatePosEnvScRsp Clone()
		{
			return new TrainPartyUpdatePosEnvScRsp(this);
		}

		// Token: 0x17004108 RID: 16648
		// (get) Token: 0x0600E6EB RID: 59115 RVA: 0x00269856 File Offset: 0x00267A56
		// (set) Token: 0x0600E6EC RID: 59116 RVA: 0x0026985E File Offset: 0x00267A5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NPKLLEHIOAL
		{
			get
			{
				return this.nPKLLEHIOAL_;
			}
			set
			{
				this.nPKLLEHIOAL_ = value;
			}
		}

		// Token: 0x17004109 RID: 16649
		// (get) Token: 0x0600E6ED RID: 59117 RVA: 0x00269867 File Offset: 0x00267A67
		// (set) Token: 0x0600E6EE RID: 59118 RVA: 0x0026986F File Offset: 0x00267A6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600E6EF RID: 59119 RVA: 0x00269878 File Offset: 0x00267A78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyUpdatePosEnvScRsp);
		}

		// Token: 0x0600E6F0 RID: 59120 RVA: 0x00269886 File Offset: 0x00267A86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyUpdatePosEnvScRsp other)
		{
			return other != null && (other == this || (this.NPKLLEHIOAL == other.NPKLLEHIOAL && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E6F1 RID: 59121 RVA: 0x002698C4 File Offset: 0x00267AC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NPKLLEHIOAL != 0U)
			{
				num ^= this.NPKLLEHIOAL.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E6F2 RID: 59122 RVA: 0x0026991C File Offset: 0x00267B1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E6F3 RID: 59123 RVA: 0x00269924 File Offset: 0x00267B24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E6F4 RID: 59124 RVA: 0x00269930 File Offset: 0x00267B30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.NPKLLEHIOAL != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.NPKLLEHIOAL);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E6F5 RID: 59125 RVA: 0x0026998C File Offset: 0x00267B8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NPKLLEHIOAL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NPKLLEHIOAL);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E6F6 RID: 59126 RVA: 0x002699E4 File Offset: 0x00267BE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyUpdatePosEnvScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NPKLLEHIOAL != 0U)
			{
				this.NPKLLEHIOAL = other.NPKLLEHIOAL;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E6F7 RID: 59127 RVA: 0x00269A34 File Offset: 0x00267C34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E6F8 RID: 59128 RVA: 0x00269A40 File Offset: 0x00267C40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.NPKLLEHIOAL = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005B59 RID: 23385
		private static readonly MessageParser<TrainPartyUpdatePosEnvScRsp> _parser = new MessageParser<TrainPartyUpdatePosEnvScRsp>(() => new TrainPartyUpdatePosEnvScRsp());

		// Token: 0x04005B5A RID: 23386
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005B5B RID: 23387
		public const int NPKLLEHIOALFieldNumber = 3;

		// Token: 0x04005B5C RID: 23388
		private uint nPKLLEHIOAL_;

		// Token: 0x04005B5D RID: 23389
		public const int RetcodeFieldNumber = 9;

		// Token: 0x04005B5E RID: 23390
		private uint retcode_;
	}
}
